package vip.ifmm.lehouse.commodity.service.api.mock;

import vip.ifmm.lehouse.commodity.service.api.CommodityCommentService;
import vip.ifmm.lehouse.common.bo.SessionBo;
import vip.ifmm.lehouse.common.dto.ServerResponse;
import vip.ifmm.lehouse.common.enums.status.CommentStatus;
import vip.ifmm.lehouse.common.model.Comment;

import java.util.List;

/**
 * @author Red
 * email: 1318944013@qq.com
 * date: 2019/6/21 14:29
 */

public class CommodityCommentServiceMock implements CommodityCommentService {
    @Override
    public ServerResponse addComment(Comment comment, SessionBo sessionBo) {
        return ServerResponse.response(CommentStatus.SERVICE_IS_NOT_AVAILABLE);
    }

    @Override
    public ServerResponse deleteComment(Integer commodityId, Integer commentId) {
        return ServerResponse.response(CommentStatus.SERVICE_IS_NOT_AVAILABLE);
    }


    @Override
    public ServerResponse listComment(Integer commodityId,
                                                     Integer pageNum, Integer pageSize) {
        return ServerResponse.response(CommentStatus.SERVICE_IS_NOT_AVAILABLE);
    }

    @Override
    public ServerResponse updateStar(Integer commodityId) {
        return ServerResponse.response(CommentStatus.SERVICE_IS_NOT_AVAILABLE);
    }
}
